package me.bincker.formwork.web.modules.system.service.impl

import me.bincker.formwork.web.core.service.impl.BaseServiceImpl
import me.bincker.formwork.web.modules.system.entity.Role
import me.bincker.formwork.web.modules.system.repository.IRoleRepository
import me.bincker.formwork.web.modules.system.service.IRoleService
import org.springframework.stereotype.Service
import org.springframework.transaction.annotation.Transactional

@Service
@Transactional
class RoleServiceImpl(
        private val roleRepository: IRoleRepository
) : IRoleService, BaseServiceImpl<Role>(roleRepository){
    override fun findAll(): MutableList<Role> {
        println("role")
        return super.findAll()
    }
}